import Vue from 'vue';
import Vuex from 'vuex';
import userInfo from './modules/userInfo';

import getters from './getters';

Vue.use(Vuex);

export default function createStore() {
  return new Vuex.Store({
    modules: {
      userInfo
    },
    getters
  });
}
